/*
This file is part of Docking@Home.
http://docking.gcl.cis.udel.edu
Copyright (C) 2009 University of Delaware

Docking@Home is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Docking@Home is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Docking@Home.  If not, see <http://www.gnu.org/licenses/>.
*/
/*
	Filename: TrigMath.h
	Description: Triginometry functions that are useful to
		this project and those that use it.
	Revision History: 
		Created - 01/04/08
	Author: Robert Keller (01/04/08 -> Current)
*/

#ifndef _TrigMath_h
#define _TrigMath_h

// ------------------------------------------------------------
// Math Constants
// ------------------------------------------------------------

static const double PI = 3.14159265359;

// ------------------------------------------------------------
// Triginometry Functions
// ------------------------------------------------------------

double radiansToDegress (double radians)
{
	return radians / PI * 180.0f;
}// radiansToDegrees

#endif
